package com.gr3g.dev.learndraw.model.draw;

import android.graphics.Color;
import android.graphics.Paint;

/** @author Gregory Tardivel */
public final class ModelPaint extends Paint {

    /** Constructeur.
     * @param width */
    public ModelPaint(final float width) {
        super();
        this.setAntiAlias(true);
        this.setDither(true);
        this.setColor(Color.LTGRAY);
        this.setStrokeJoin(Join.ROUND);
        this.setStrokeCap(Cap.ROUND);
        this.setStrokeWidth(width / 50);
    }
}
